Skip to main content

Posts

Showing posts from July, 2023

Collection Framework java

Collection: ================ A collection is  an object that can hold references to other objects . The collection interfaces declare the operations that can be performed on each type of collection. Collection is an Interface, and its store group of object. Framework: -  Framework is a api its use to provide a readymade functionality. It represents a set of classes and interfaces.   Collection Hierarchy: List: - 1.    List Follow Insertion order 2.    List Store Duplicate data 3.    List Size not limit 4.    List store data index base List interface is the child interface of collection interface.it inhibits a list type data structure in which we can store the ordered collection of objects it can cave dublicate values Exp :- List <String>list1 =new ArrayList<>();             List <Integer>list2=new LinkedList<>();    ...

Angular Interview Question and Answer

  Angular Interview Questions for Freshers 1. Why were client-side frameworks like Angular introduced? Back in the day, web developers used VanillaJS and jQuery to develop dynamic websites but, as the logic of one's website grew, the code became more and more tedious to maintain. For applications that use complex logic, developers had to put in extra effort to maintain the separation of concerns for the app. Also, jQuery did not provide facilities for data handling across views. For tackling the above problems, which made life easier for the developers by handling the separation of concerns and dividing code into smaller bits of information (In the case of Angular, called Components). Client-side frameworks allow one to develop advanced web applications like Single-Page-Application. Not that we cannot develop SPAs using VanillaJS, but by doing so, the development process becomes slower. 2. How does an Angular application work? Every Angular app consists of a file named  a...