Question
What are the default or implicitly assigned values for data types in java ?

Answers

boolean ---> false
byte ----> 0
short ----> 0
int -----> 0
long ------> 0l
char -----> /u0000
float ------> 0.0f
double ----> 0.0d
any object reference ----> null   Your Comment




More Software,Java Questions..
What is the inputsplit in map reduce software?

Can variables be used in Java without initialization?

What is the difference between java bean and enterprise java bean?

What is software configuration management?

How does the java database connectivity (jdbc) work?

What are the advantages of threads in java?

What Is Java Api For Xml-based Rpc (jax-rpc)?

How can you implement fine-grained auditing?

What is IBM’s simple explanation for Big Data’s four critical features?

What is static synchronized method in JDBC API? Give an example?

What does the NULLIF function do?

What happens if a start method is not invoked and the run method is directly invoked?

Should we override finalize method

what is the difference between mysql_fetch_array and mysql_fetch_object?

How will XML affect my document links?

What is object cloning in Java?

Why to use Style Sheets?

What are Filters in MVC?

Can you explain Application layer in OSI model?

How to define new testplan attributes?



Search
Can you Answer!!
  • Q You create an ASP.NET page named Location.aspx. Location.aspx contains a Web user control that displays a drop-down list box of counties. The Web user control is named CountyList and is defined in a file named CountyList.ascx. The name of the DropDownList control in CountyList.ascx is TKCounty. You try to add code to the Page.Load event handler for Location.aspx, but you discover that you cannot access TKCounty from mode in Location.aspx. You want to ensure that code within Location.aspx can access properties of TKCounty. What should you do? A. In the code-behind file for CountyList.ascx add the following line of code: protected DropDownList TKCounty; B. In the code-behind file for CountyList.ascx, add the following line of code: public DropDownList TKCounty; C. In the code-behind file for Location.aspx, add the following line of code: protected DropDownList TKCounty; D. In the code-behind file for Location.aspx, add the following line of code: public DropDownList TKCounty;
  • Q Does a Siebel server installation needs the gateway server installation?
  • Q What is the difference between Serializalble and Externalizable interface?
  • Q What is the use of 'this' pointer?
  • Q What are the family and order of Saury ?
  • Q What type of structure is the crystalline lens? What is its function?
  • Q Which was the first spacecraft to hit the Moon?
  • Q Which branchial arch are the greater horn of hyoid and the stylopharyngeus muscle derived from?
  • Q A laser beam is always-
  • Q Is chiropractic adjustment safe?
  • Q The Doing Business Report’ is prepared by which of the following organizations every year