Home Tutorialhelp Comment hi , there is a question in my mind that wha

 
 

Comment

KAMAL
hi , there is a question in my mind that wha,
April 9, 2007 at 4:57 PM

hi ,
there is a question in my mind that what is the functionality of these braces in java.
in any program ifu write like this:
{
System.out.println("java");
}
there will be no compile error.even inside of constructor.
plz give me the solution about this question.
thanks
regards
kamal

View All Comments | View Tutorial
Advertisement
Related Tutorial and Articles
Java Interview Questions

interview question - Java Interview Questions
interview question  hello i want technical interview question in current year   Hi Friend, Please visit the following links: http://www.roseindia.net/interviewquestions/ http://www.roseindia.net 

Java Interview Questions

Java - Java Interview Questions
Interview interview, Tech are c++, java,  Hi friend, Now get more information. you can lean all type interview question by following link...Java  Respected Sir/Madam First i can introduce my self 

Java Interview Questions

java - Java Interview Questions
/interviewquestions/ Here you will get lot of interview questions.....tat is when a mixture of 4 or 5 ques in 1 single question which is real... ...or any of the sites....which handles these kind of questions...   Hi 

Java Interview Questions

Interview Question - Java Interview Questions
Interview Question  1)If we give S.O.P. statement after finally block shall it prints or not? 2)Write a program in java to read a file & write... and print, without using functions?  Hi Friend, 1)It will print. 2 

Java Beginners

hi all - Java Beginners
hi all  hi, i need interview questions of the java asap can u please sendme to my mail   Hi, Hope you didnt have this eBook. You.../Good_java_j2ee_interview_questions.html?s=1 Regards, Prasanth  HI 

Servlet Interview Questions

interview question - Servlet Interview Questions
interview question  What is Servlet? Need interview questions on Java Servlet  Servlet is one of the Java technologies which is used... according to your experience.And for collection of Java Servlet Interview Question you 

Java Interview Questions

hint - Java Interview Questions
hint  Dear roseindia, i want the java interview question and the corresponding question answers.   Hi Friend, Please visit... of interview questions and their answers. Thanks  thanks for your 

Java Interview Questions

java questions - Java Interview Questions
java questions  HI ALL , how are all of u?? Plz send me the paths of java core questions and answers pdfs or interview questions pdfs... the interview for any company for <1 year experience thanks for all of u in advance 

Java Interview Questions

INTTERFACE 1 - Java Interview Questions
INTTERFACE 1  What is a Interface?  Hi Friend, Interface is the collection of methods with empty implementations and constants variables ( variables with static and final declarations ). All the methods 

Java Interview Questions

Interview question - Java Interview Questions
Interview question   Hi Friends, Give me details abt synchronization in interview point of view. I mean ow to explain short and neat. Thanks 

Java Interview Questions

interview questin of java - Java Interview Questions
interview questin of java  what r the common question of core & addvance java in interview?  Hi Garima, I am sending you a link...://www.roseindia.net/interviewquestions/corejava.shtml http://www.roseindia.net 

Java Interview Questions

java - Java Interview Questions
modifiers  Hi Just to let you know, you can find these difference anywhere while searching on google but if you want you can learn it in a interview preparation manner as well.. I have a java interview question URL from where you 

Java Interview Questions

Interview question - Java Interview Questions
Interview question   Hi Friends, I am new to java, can u tell me what is class ,object and instance with example. For example : class raja , raja r = new raja(); ,here raja is class and r is instance 

Servlet Interview Questions

java - Servlet Interview Questions
java  servlet interview questions  Hi friend, For Servlet interview Questions visit to : http://www.roseindia.net/interviewquestions/servlet/ Thanks 

Java Interview Questions

Java Interview - Java Interview Questions
Java Interview  Please provide some probable Java interviewe Question. Thanking you. Pabitra kr debanth.  Hi friend, I am sending.... http://www.roseindia.net/interviewquestions/ Thanks 

Java Interview Questions

hi roseindia - Java Interview Questions
hi roseindia  advantages of object oriented progamming language?  Hi friend, Some advantages of object oriented progamming language : 1) A provides modular structure . 2) The programming can be done with real 

Java Interview Questions

one interview question - Java Interview Questions
one interview question   Hello, In one of my interview the interviewer ask one question "what are the problems you faced during project... for this question. Thanks 

Java Interview Questions

java bits 1 - Java Interview Questions
java bits 1   Given: 11. public interface Status { 12. /* insert code here */ int MY_VALUE = 10; 13. } Which three are valid on line 12? (Choose three.) A. final B. static C. native D. public E. private F. abstract G 

Java Interview Questions

Interview Question - Java Interview Questions
Interview Question  I need Interview Questions on Java,J2EE Pls help me 

Java Interview Questions

java - Java Interview Questions
java  i want to java&j2ee interview questions. Regards Akhilesh Kumar  Hi friend, I am sending you a link. This link will help you. Read for more information. http://www.roseindia.net/interviewquestions 

Hibernate Interview Questions

Hibernate Interview question - Hibernate Interview Questions
Hibernate Interview question  Hi, My interviewer asked, in hibernate how u know whether data is updated or saved or deleted. Thanks in advance 

Java Interview Questions

Spring question - Java Interview Questions
Spring question  Hi Pls any one give idea abot this question? in the above statement, what is the meaning og abstarct = true? Thanks In Advance   Hi friend, Read for more information. http 

Java Interview Questions

data base question - Java Interview Questions
,but no duplicate record,no deletion and after creation.  Hi, Query to create...,start_date datetime,city nvarchar (10),region char (1)) Alter table 

Java Interview Questions

EXCEPTIONS-----1 - Java Interview Questions
EXCEPTIONS-----1  How To Handle The Exceptions With Out Using Try,Catch And Throws?I Want Region Plz Post Answer 

Java Interview Questions

java interview question and answer - Java Interview Questions
java interview question and answer   sir, i want one mark java interview question and answers 

Programming Tutorials

Core Java Interview Question, Interview Question
.   Core Java Interview Question Page 1 How could Java... Core Java Interview Question       Core Java Interview Questions 

EJB Questions

interview questions - EJB
interview questions in Java  Need interview questions in Java ...://www.roseindia.net/ejb/Interview Questions: http://www.roseindia.net.... If you really want to win the interview then follow the steps.Learn core java http 

Java Beginners

Some additions for my previous question - Java Beginners
for the GUI. Could anyone please help?" So my other two questions are: 1...Some additions for my previous question  This is the question I... it!   Hi Friend, Try the following codes: 1) import java.awt. 

General

Collection of Large Number of Java Interview Questions!
Interview Questions - Large Number of Java Interview Questions Here you.... The Core Java Interview Questions More interview questions on core Java.. Read 

JSP Interview Questions

java - JSP-Interview Questions
java  hi.. snd some JSP interview Q&A and i wnt the JNI(Java Native Interface) concepts matrial thanks krishna  Hi friend, Read more information. http://www.roseindia.net/interviewquestions/jsp-interview 

Interview Questions

Difficult Interview Questions Page -1
Difficult Interview Questions Page -1       Question 1: Tell me about yourself ? Answer: Whenever you go for the interview, most probably this is the first question asked 

Development process Questions

hi
hi   i want to develop a online bit by bit examination process as part of my project in this i am stuck at how to store multiple choice questions... the following code: 1)form.jsp: <%@page import="java.sql.*"%> <html> < 

Java Interview Questions

Java - Java Interview Questions
Java  Hi How to write java code inorder to get the comments written in a java program? Please let me know..this was asked in my interview... in java 1. /*.........*/ 2 // 3 

Java Beginners

clarify my question - Java Beginners
clarify my question  Dear Sirs/Expert, Thanks for writing back... the matching tutors to the parent. I was telling you that my degree... patience. I really appreciate it.   Hi Friend, Try the following 

JSP Interview Questions

Interview question - JSP-Interview Questions
Interview question   Hi Friend, Can we inherit interface in JSP. Thank u in advance 

General

Java Interview Questions - Page 1
Java Interview Questions - Page 1       Java Interview Questions by Inigo Nirmal..., it maps to a real Motif button. Question: Why Java does not support 

Hibernate Interview Questions

java - Hibernate Interview Questions
java  Thanks for your previous answer...... my new question folows........ 1> If constructers can have any of the access specifiers then how a private constructer can be accessed? Can you explain it by a code please 

Java Interview Questions

Java - Java Interview Questions
Java  How to use C++ code in Java Program?   Hi friend, Java does not have a preprocessor. It provides similar functionality (#define... #define in C/C++ code. The resulting Java version of this class. Keep in mind 

Hibernate Interview Questions

Hi - Hibernate Interview Questions
Hi   please send me hibernate interview questions 

Java Interview Questions

Hi this is kalavathi - Java Interview Questions
Hi this is kalavathi   what is the difference between hibernate and springs in java   spring is designed as a complete framework software to provide alternate for j2ee technologies based programming.That is,Spring 

Java Interview Questions

interview questions - Java Interview Questions
interview questions for Java  Hi Any one can u please post the interview point of questions.Warm Regards, Satish 

Java Interview Questions

CORE - Java Interview Questions
CORE  Hai this is jagadhish. My doubt in core java is,How many design patterens are there in core java? Thanks inadvance...  Hi friend... patterns in Java. These patterns are grouped under three heads: 1. Creational Patterns 

Java Interview Questions

Java interview question
Java interview question  Hello i had an online test in some company...: Problem: 1) You have a bunch of log files in: C:\CloudShareCodeChallenge... / 100,000,000 Bonus Questions: How would you write the generator for the above 

Servlet Interview Questions

java - Servlet Interview Questions
in the general java file. let me know the steps for configuring the tomcat server on my computer  Hi package javacode; import java.io.*; import...(1) + ""); out.println("" + theResult.getString(2) + ""); out.println 

Java Interview Questions

java - Java Interview Questions
Java interview questions and answers for freshers  Please provide me the link of Java interview questions and answers for freshers  Hi...;a: { " + a[0] + ", " + a[1] + " }"); String sa[] = new 

Java Beginners

problem 1 - Java Beginners
problem 1   Hi, please help me!!!! How can i code in java using Two-dimensional Arrays? This question is related to the one i posted before. this is my input data file: 88 90 94 102 111 122 134 75 77 80 86 94 103 113 80 

JSP Interview Questions

question - JSP-Interview Questions
question  Need simple java questionnaires for preparation of Java Certifications  JavaServer Pages (JSP) is a Java technology that allows... in response to a Web client request. The technology allows Java code and certain pre 

General

Core Java Interview Questions!
Core Java Interview Questions   ...(); }   Question: How to define an Interface? Answer: In Java Interface... Method overriding through the Java interface    Question 

Java Beginners

Interview question link - Java Beginners
Interview question link  Hi, I want JAVA+J2EE interview question and answer please suggesion me link 

Java Beginners

Java Interview Questions
Java Interview Questions  Hi, Can anyone tell the urls of Java Interview Questions on roseindia.net? Thanks 

Java Beginners

Question
java interview questions and answers for one year experianced candidates  Good afternoon sir could you please send me program style java interview questions and answers for one year experianced candidates.ie ,the questions like 

Java Beginners

Question
program style java interview questions and answers  Good afternoon sir could you please send me program style java interview questions and answers for one year experianced candidates.ie ,the questions like find out the result 

Java Interview Questions

Question
java interview questions and answers for one year experianced candidates.ie ,the questions like find out the result of given code(to find out result from the given code). please also send me the answers with the questions 

Java Interview Questions

core java question - Java Interview Questions
core java question  I Have been asked the question in interview why we use constructors????? or what is the need of constructors?? or what is the utility of constructors????  to intialize the instance variabe we 

JSP Interview Questions

jsp - JSP-Interview Questions
jsp  Hiiiiiiiiiiii, I got the answer for my previous question... for developing webapplication?Actually i m developing a jsp project,ur ans for my quest is very useful for my viva presentation.  Hi JavaServer Pages (JSP 

Java Interview Questions

help me plz - Java Interview Questions
? plz answer my question   Hi Friend, Try the following code: 1...help me plz  1)write a java program that prompts the user to input a decimal number and print the number rounded to the nearest integer? 2)write 

Java Interview Questions

Servlet doubt2 - Java Interview Questions
Servlet doubt2  Dear sir, thanks for your response? my question is how can i develop a chatting application using servlets? like can we use socket programming in servlets? can you give me an example?   Hi 

Java Interview Questions

how to find largest number? - Java Interview Questions
how to find largest number?  this is my java coding: import... by the user.. sorry for not stating my question more clearer.. thanks...); PrintWriter outputFile=new PrintWriter(fwriter); for(int i=1; i<=5; i 

JSP Interview Questions

jsp interview Question - JSP-Interview Questions
jsp interview Question  What are taglibraries in jsp  Hi Friend, Please visit the following link: http://www.roseindia.net/jsp/Tag_Library.shtml Hope that it will be helpful for you. Thanks 

Java Interview Questions

java - Java Interview Questions
Java Abstract Class and Interface Info  What are the Java Abstract Class and Interfaces?  Hi Bharathi Abstract Class - a class which... read the given tutorial. http://www.roseindia.net/java/master-java/abstract 

Java Interview Questions

java - Java Interview Questions
java  MNC now which modal question are asked in interview 

Servlet Interview Questions

Java Servlet - Servlet Interview Questions
Java Servlet  My Servlet Program is generating Compile time errors. 1)pakage javax.Servlte.Http.* does not exists. and Pakage javax.Servlte does... these Errors.  Hi Friend, As you have mentioned it may be your typing 

JSF Tutorials & Examples

JSF Interview Questions
;  Collection of JSF (Java Server Faces) Interview Questions...;    JSF Interview Question Page 1 JavaServer Faces (JSF... for web based Java applications.    JSF Interview Question 

Java Interview Questions

help me in these - Java Interview Questions
help me in these  hello every body i have some question if you cam plz answer me it is important to me and these are the questions : 1)Write... use the corejava.*  Hi Friend, 1) import java.util.*; public class 

JSP Servlet Questions

hi
hi  how i get answer of my question which is asked by me for few minutes ago.....rply 

Java Beginners

Java programming 1 - Java Beginners
Java programming 1  Hi sir, i facing problem in this program.... Here are my question.. Write a program that will find the smallest....   Hi friend, Please send me full code. Because your 

Java Interview Questions

java - Java Interview Questions
Java factorial program   I wanted to know ..how to create a factorial program in Java using recursive method.Thanks in Advance!  Hi friend...;= 1) // base case return 1; else return n * factorial(n - 1); } public static 

Java Interview Questions

spring question - Java Interview Questions
 

Java Interview Questions

AutoBoxing,==,!=,equals() - Java Interview Questions
AutoBoxing,==,!=,equals()  Hi, I am really confused of ==,!=,equals() operations on Autoboxing the new feature in java 5.0 . Can any one tell me...? If any knows please reply to this. Example 1: ========== Integer i1 = 1000 

Java Interview Questions

java - Java Interview Questions
java  what is the deffirence between java language and other language ?   Hi Friend, Differences: 1)Java is more secure than any other languages. 2)Java is platform independent. 3)Java is purely Object Oriented 

Interview Questions

Difficult Interview Questions
opportunity will be enhanced.  Difficult Interview Questions - Page 1...; Difficult Interview Questions - Page 3  Question : ...; Difficult Interview Questions - Page 4   Question 

Java Interview Questions

Java - Java Interview Questions
Java   How many types of Class Loaders Are there?  Hi friend, Each Java class must be loaded by a class loader. When the JVM is started, three class loaders are used : 1. Bootstrap class loader : loads 

Java Interview Questions

java - Java Interview Questions
java  1. Can constructers be declared as PRIVATE in a java file... variale?  Hi Friend, 1)Constructor can have any of the access modifiers...: http://www.roseindia.net/java/java-classpath.shtml Thanks 

Java Interview Questions

Java - Java Interview Questions
Java  What are the Disadvantages of Java ?  Hi friend, Java has the following disadvantages. 1. Because programs written in Java... correctly even if they are written correctly, because a Java virtual machine 

Java Interview Questions

guess number - Java Interview Questions
guess number  i am doing a java program for user to guess number. i need to include Math.abs in the program. my code is: import...) JOptionPane.showMessageDialog(null,"high!"); else if(num  hi friend, This code 

Java Interview Questions

java - Java Interview Questions
java   hi This is sampath reddy, i didnot get the idea i.e... the predefined methods in java)like simple java logic. can u give the brief idea...}; int curMax = num[0]; for (int i=1; i curMax) { curMax 

Java Interview Questions

Java - Java Interview Questions
Java  HI, This is Ramesh. can u please tell me the difference between applet and servlet? mail: balla.rajaramesh@gmail.com  Hi Friend, Differences: 1)an applet is a client side component whereas Servlet 

XML Questions

hi
online multiple choice examination  hi i am developing online multiple choice examination for that i want to store questions,four options,correct answer in a xml file using jsp or java?can any one help me?   Please 

Java Interview Questions

java - Java Interview Questions
java  1. how to navigate from jsp to servlet ?   Hi Friend, You can use sendRedirect() method, getRequestDispatcher() method etc. In order to get examples, visit the following link: http://www.roseindia.net 

Java Interview Questions

java - Java Interview Questions
= s1.substring( 3, 5 ); 1. a) null b) "eno" c) "enoba" d) "no"  Hi Friend, Answer is (d) i.e., "no". Thanks 

Java Interview Questions

Java - Java Interview Questions
Java  1)Write a program in java to take input date from the user and convert into the format of yyyymmdd?  Hi Friend, Try the following code: import java.util.*; import java.text.*; class InputDate { public 

Java Interview Questions

java - Java Interview Questions
the command line as: java MyProg I like tests what would be the value of args[ 1...java  1. Which of the following are valid definitions... until a value is assigned 3. Which of the following are Java keywords 

Java Interview Questions

JAVA - Java Interview Questions
JAVA  WAP TO PRINT GREATEST OF 5 NUMBERS.  Hi Friend, Try the following code: import java.util.*; public class MaxMin { public...."); for (int i=1;i<6;i++){ int number = input.nextInt 

Java Interview Questions

java - Java Interview Questions
means what? Difference between throw and throws?   Hi Friend, Difference between final and static keywords: 1)If you use final modifier... information, visit the following links: http://www.roseindia.net/help/java/f/final 

Java Interview Questions

java - Java Interview Questions
java  what is diferenc among ArrayList,LinkList and Vector?  Hi Friend, Difference between ArrayList, LinkedList, Vector 1)Vector is thread safe while arraylist and linkedlist are not. 2)Vector can increment 

Java Interview Questions

JAVA - Java Interview Questions
JAVA  how to merge the sorted arrays i want sourse code?  Hi Friend, Try the following code: import java.util.*; public class MergeSortedArrays { public static void main(String[] args) { int[] arr1 = {1, 3 

Java Interview Questions

java - Java Interview Questions
java   All the wrapper classes (Integer, Boolean, Float, Short, Long, Double and Character) 1. are public 2. are serializable 3. are immutatable 4. extend java.lang.Number 5. are final   Hi friend, Wrapper 

Java Interview Questions

java - Java Interview Questions
java   how many types of poolings are available in java explain each with real time examples   Hi friend, Connection Pooling in the Java : A group of objects is called as a pool of objects. Object pooling 

Java Interview Questions

java - Java Interview Questions
"); } }   Hi friend, import java.sql.*; import java.io.*; Code to help... = stmt.executeQuery(query); while(rs.next()) { text = rs.getString(1...(); } } } For more information on Java IO visit to : http://www.roseindia.net 

Java Interview Questions

java - Java Interview Questions
java  Dear, Please I hope you help me. I want to select all files that ends with txt ( txt files) using Filechooser from a directory that I choose. Can you help me. With my best regards  Hi Friend, Try 

Java Interview Questions

java - Java Interview Questions
in advance Vinod   Hi friend... Externalizable interface : When.... This interface has two methods: 1:- public void writeExternal(ObjectOutput out) 2... information, http://www.roseindia.net/java 

Java Interview Questions

java - Java Interview Questions
java  what is meant by the following fundamentals as used in java....   Hi Friend, Identifier------- An identifier is used to identify..., member variables and methods. Java provides some access modifiers like: public 

Java Interview Questions

java - Java Interview Questions
java  difference between abstract and interface?Why abstract class needed?  Hi Friend, Difference between Abstract class and Interface: 1)An interface represents only the boundaries of a class/classes 

Java Interview Questions

java - Java Interview Questions
: $2356.00   Hi Friend, Difference: 1) Primitive...java  1) how does a varible of a primitive type differ from a reference varible? 2) write a program that calculates and prints the manthly 

Hibernate Interview Questions

Hibernate query - Hibernate Interview Questions
Hibernate query  Hi,In my one interview i face one question that is how to write query without using hql and sql.If any body knows please give the answer thank u 

Java Interview Questions

cms - Java Interview Questions
cms  Hi i am kalavathi.last week i was posted some of the queries... u what it is exactly. my problem is i have a project with cms(using alfresco concepts in core java,webapplications and webservices).i haver some 

Java Interview Questions

arraylist not able to store large amount of data( over 1 lakh records) - Java Interview Questions
arraylist not able to store large amount of data( over 1 lakh records)  A result set containing over 1 lakhs of records is used to set data... out its urgent. Thanks in advance.  Hi Friend, Please send your code 

Java Server Faces Questions

java - Java Server Faces Questions
java  Java Server Faces Quedtions  Hi friend, http://www.roseindia.net/interviewquestions/jsf/ http://www.roseindia.net/interviewquestions/jsf/JSF-interview-questions.shtml Thanks 

Java Interview Questions

C interview questions
C interview questions  Plz answer the following questions..... TECHNICAL - C /question number 1/ Code: int z,x=5,y=-10,a=4,b=2.... fread() e. gets() /question number 7/ "My salary was increased by 15%!" Select 

Java Interview Questions

C interview questions
C interview questions  Plz answer the following questions..... TECHNICAL - C /question number 1/ Code: int z,x=5,y=-10,a=4,b=2.... fread() e. gets() /question number 7/ "My salary was increased by 15%!" Select 

Advertisements Advertisements
 

 

 

DMCA.com