Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

nashi informatics solutions


{ City } chennai
< Country > india
* Profession *
User No # 125947
Total Questions Posted # 479
Total Answers Posted # 668

Total Answers Posted for My Questions # 836
Total Views for My Questions # 366832

Users Marked my Answers as Correct # 0
Users Marked my Answers as Wrong # 0
Answers / { nashi informatics solutions }

Question { 1415 }

Can we declare Pointer in Java?


Answer

No, pointer support is not available in Java. Java needed to be more secure because it lacks a feature that allows for pointers.

Is This Answer Correct ?    0 Yes 0 No

Question { 1365 }

What is the default value stored in Local Variables?


Answer

Local variables don't store a default value. Additionally, primitive objects and variables have no default values.

Is This Answer Correct ?    0 Yes 0 No


Question { 1148 }

Difference in the use of print, println, and printf.


Answer

The items can be printed using print, println, or printf, but print prints every element while keeping the cursor in the same line. The cursor is moved to the next line via println. Additionally, we can use format identifiers with printf.

Is This Answer Correct ?    0 Yes 0 No

Question { 1277 }

Is it possible to make an array volatile?


Answer

It is not possible to create a volatile with Java. Only individual variables in Java can use volatile keywords; arrays and collections cannot. When a variable is specified as volatile, its value is never cached in a thread's local memory; instead, it is always read from and written to the main memory. This makes it simpler to ensure that any changes made to the variable are visible to all threads that access it.

Is This Answer Correct ?    0 Yes 0 No

Question { 1325 }

What is an object-oriented paradigm?


Answer

In literal terms, paradigm refers to a pattern or approach. Programming paradigms are approaches to solving programs of four different types: object-oriented, logical, functional, and imperative. An object-oriented paradigm is one in which methods are applied to objects as basis entities and encapsulation or inheritance functions are carried out.

Is This Answer Correct ?    0 Yes 0 No

Question { 1325 }

What is an object-oriented paradigm?


Answer

A Paradigm that is based on the concepts of “Objects.” It contains data and code. Data that is in the form of fields, and regulation, that is in the form of procedures. The exciting feature of this paradigm is that the object’s procedures can access and often modify the data fields themselves.

Is This Answer Correct ?    0 Yes 0 No

Question { 701 }

What are the Memory Allocations available in JavaJava?


Answer

There are five main categories of memory allocations in Java.

Memory of the Class

A lot of memory

Memory Stacking

Counter-Memory of the Program

Memory for Native Method Stack

Is This Answer Correct ?    0 Yes 0 No

Question { 800 }

What is a singleton class in Java? And How to implement a singleton class?


Answer

A singleton class is one that can only have one object at a time. The following procedures must be followed in order to implement a singleton class:

Verify that there is only one object in the class.

Allow the item to be accessed globally.

Is This Answer Correct ?    0 Yes 0 No

Question { 800 }

What is a singleton class in Java? And How to implement a singleton class?


Answer

A class that can possess only one object at a time is called a singleton class. To implement a singleton class given steps are to be followed:
1. Make sure that the class has only one object
2. Give global access to that object

Is This Answer Correct ?    0 Yes 0 No

Question { 815 }

Can you explain the Java thread lifecycle?


Answer

In Java, a thread can exist in any of the following states. The states are as follows:

New: When a new thread is first created, it is always in the new state. For a thread in the new state, the function hasn't begun to execute because it hasn't been performed yet.

Active: When a thread invokes the start() method, it moves from the new state to the active state. The active state contains both the running state and the runnable state.

Blocked or Waiting: When a thread is not active for a period of time (but not forever), it is either in the blocked state or the waiting state.

Timed waiting is what happens when we apply the sleep() technique to a certain thread.

Is This Answer Correct ?    0 Yes 0 No

Question { 972 }

In the below Java Program, how many objects are eligible for garbage collection?


Answer

In general, three items are acceptable for waste pickup; however, I am not familiar with the program.

When the program starts, the first object is generated, and when it ends, it is no longer required.

When the user enters their name, the second object is generated; it is no longer needed at the end of the application.

When the user enters their address, the third object is generated; it is no longer required at the end of the program.

Is This Answer Correct ?    0 Yes 0 No

Question { 802 }

What is JDK? Mention the variants of JDK?


Answer

The Java Development Kit is shortened to JDK. It is a bundle of developer tools and JRE that is used to create Java apps and applets. These are some of Oracle's variations.

Standard Edition of JDK

Enterprise Edition of JDK

Micro Edition of JDK

Is This Answer Correct ?    0 Yes 0 No

Question { 788 }

What are Brief Access Specifiers and Types of Access Specifiers?


Answer

To assist JVM in comprehending the extent of a variable, method, and class, access specifiers are predefined keywords. Four access specifiers are available to us.

Specifier for Public Access

Specifier for Private Access

Specifier of Protected Access

Is This Answer Correct ?    0 Yes 0 No

Question { 848 }

Explain Method Overloading in Java.


Answer

In Java, method overloading is the practice of generating several method signatures using a single method name. Method overloading can be accomplished in two ways:

Changing the quantity of arguments

Modifying the method's return type

Is This Answer Correct ?    0 Yes 0 No

Question { 767 }

Give a briefing on the life cycle of a thread.


Answer

The life cycle of a thread includes five stages, as mentioned below.
1. New Born State
2. Runnable State
3. Running State
4. Blocked State
5. Dead State

Is This Answer Correct ?    0 Yes 0 No

Prev    1   ... 4   ... 7   ... 10    13   [14]    15  ... 19   ... 22   ... 25   ... 28   ... 31   ... 34   ... 37   ... 40   ... 43    Next