What is Multithreading? Multithreading is a Java feature that allows concurrent execution of two or more parts of a program for maximum utilization of CPU. Each part of such program is called a thread. So, threads are light-weight processes within a process. … Start () invokes the run () method on the Thread object. What are theRead More
Tag: Core Java
9 Key Interfaces of collection Framework
Collection List Set SortedSet NavigableSet Queue Map SortedMap NavigableMap 1) Collection(I): If we want to represent a group of individual objects as a single entity then we should go for collection. The collection interface defines the most common methods which are applicable for any collection object. In the general collection, the interface is considered asRead More
How To Use Varargs Variable Argument Methods.
Until 1.4 version we can’t declare a method with variable number of arguments. If there is a change in number of arguments compulsory we should go for new method. It increases length of the code and reduce readability. To overcome this problem sun people introduce var-arg methods in 1.5 version, according to this we canRead More
WHAT is STATIC VARIABLE in JAVA?
Static variable in Java is variable which belongs to the class and initialized only once at the start of the execution. Static variable is a variable which belongs to the class and not to object(instance). A static variable can be accessed directly by the name of the class and doesn’t need any object to accessRead More
Introduction to Spring Boot JPA with REST using TDD
Intermediate level Java course lab I. Introductions Spring Boot is an easy to framework. Here, JPA framework shall be used to store and retrieve data in a relational database. This will be coupled with an in-memory database H2 for the ease of database connectivity. This is important topic for Pivotal Spring Professional Certification for coreRead More
Hadoop is the key for Java developers to taking breakthrough approach in career
Being stable, cross-platform, mature, fast and has an enormous selection of mature libraries Java is best suited for software developers however in recent research, java has been the widest ecosystem most diverse and mature. With Upcoming requirement of software industry Hadoop has taken a high position in demand in IT industry. The possible rise of hadoop jobsRead More