Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
33% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
2
Posts with Downvotes
2
Downvoting Members
2
0 Endorsements
Ranked #1K
~25.8K People Reached
Favorite Tags

38 Posted Topics

Member Avatar for new_programmer

Hi, I m new to android mobile appn devlp. Pls suggest me study materials for that. I hav 2 years of xprns in core java appl devlp. I want full detail of 1. how to learn ? that means where to start ? 2. simulators or emulators available 3. Text …

Member Avatar for peter_budo
0
670
Member Avatar for tinamary

WHAT IS CONSTRUCTOR -------------------- 1. A constructor creates an Object of the class and by initializing all the instance variables and creating a place in memory to hold the Object. 2. It is called using "new " Why we Need Constructor ----------------------- 1. For simple programs , initializing can be …

Member Avatar for peter_budo
0
184
Member Avatar for tobine

[URL="http://www.daniweb.com/forums/announcement8-2.html"]Read This[/URL] @tobine . At least try to do that, and after that ask doubts.

Member Avatar for sharathg.satya
0
79
Member Avatar for vikas.kethineed

@kramerd: Line No 9; return true;// if it is not divisible by 100 and divisible by 4 , then its a leap year.

Member Avatar for kramerd
0
228
Member Avatar for solomon_13000

[CODE]public class Test{ public static void main(String[] args) { assert args.length==3; } } [/CODE] @solomon Your code is perfectly right, problem is that you have to enable assertion by either java -ea Test arguments Or java -enableassertion Test arguments Hope you cleared.

Member Avatar for solomon_13000
0
91
Member Avatar for Dean_Grobler
Member Avatar for masijade
0
173
Member Avatar for JanineXD

@janineXD. Look carefully the 17th line int N = Integer.parseInt(args[0]); this means that parse the input(command line argument) given to Wrapper class Integer. So to run without exception you should compile like this java Partition 2 Refer the following site to understand command line line arguments [URL="http://www.roseindia.net/java/beginners/cmnd-line-arguments.shtml"]Command line Argument [/URL] …

Member Avatar for javaAddict
0
352
Member Avatar for Blastoise

//This is java forum // read two values (Obtained point and Maximum points) double percentage = (Obtained Point/Maximum Point)*100 //-----------> This gives you % of // the points. printf("Percentage %0.0f",percentage); if(percentage>=90) printf("A GRADE"); else if(percentage>=80) printf("B GRADE"); else if(percentage>=70) printf("C GRADE"); else if(percentage>=60) printf("D GRADE"); else if(percentage>=50) printf("E GRADE"); else …

Member Avatar for floatingDivs
0
131
Member Avatar for rizla777

@rizla. At least post the complete code as it is. You can post the complete code by clicking the [CODE] button above the message editor.

Member Avatar for new_programmer
0
148
Member Avatar for stusfella@yahoo

Hi Festus, Mention your ideas and your design and make your question more specific. Everyone one will assist you. All the best.

Member Avatar for new_programmer
0
91
Member Avatar for bufospro

For getting 6.5 as value, change the code in class child line number15 as follows this.value = ++value; Try it, and reply asap.

Member Avatar for bufospro
0
100
Member Avatar for Garee

[QUOTE=;][/QUOTE] Jon.kiparsky gave you good suggestion. You should work with all swing components so that you can make your OOPS concepts stronger. Extract your src file in /Program File/Java/jdk ... And go through those files. Try to use Google search for good tutorial sites. =============> All the Best <=================

Member Avatar for new_programmer
0
830
Member Avatar for Babyblues

[CODE]import java.util.*; import java.io.BufferedReader; import java.io.InputStreamReader; import java.lang.Number; public class OddEven{ public static void main(String[] args)throws Exception{ BufferedReader bufRead = new BufferedReader(new InputStreamReader(System.in)); String strNumber; int number=2; System.out.println("Enter a number:"); strNumber = bufRead.readLine(); number = Integer.parseInt(strNumber); if (number % 2 == 0) { System.out.println(" Even Number Entered is : "+number); …

Member Avatar for new_programmer
0
1K
Member Avatar for new_programmer

Hi all, I have no idea about C#. I know that its a good language +****************************************************+ | I DON'T NEED ANY HYPERLINKS( EXCEPT:Good Sites) | +*****************************************************+ My questions are the following ------------------------------- 1. What is the difference between C#, C++,VB.NEt? 2. What is .Net , is C# and C++ .Net …

Member Avatar for Shilpakmthn
1
201
Member Avatar for new_programmer

List<InputStream> pdfs = streamOfPDFFiles; List<PdfReader> readers = new ArrayList<PdfReader>(); I saw many programmers using this syntax . I didnt get it? Can anyone help me to expalin this in detail ie. <InputStream> what does this mean? and can i implement this same idea with any other code which is simpler?

Member Avatar for vhoramoin
0
136
Member Avatar for prem2

Explicit means done by the programmer. Implicit means done by the JVM or the tool , not the Programmer. For Example: Java will provide us default constructor implicitly.Even if the programmer didn't write code for constructor, he can call default constructor. Explicit is opposite to this , ie. programmer has …

Member Avatar for tong1
0
10K
Member Avatar for frances07

This is a simple program that reads Input from Keyboard. [CODE]import java.io.BufferedReader; import java.io.InputStreamReader; import java.lang.String; public class BufExamp{ BufferedReader br_line; String inputString; public BufExamp() { br_line = new BufferedReader(new InputStreamReader(System.in)); inputString = new String(); try{ System.out.print("Enter Something : "); inputString = br_line.readLine(); }catch(Exception err) { System.out.println("Error :"+err);} System.out.println("You have …

Member Avatar for new_programmer
0
89
Member Avatar for java..

There are two types of polymorphism 1. compile time polymorphism 2. run time polymorphism. Compile time polymorphism is functions and operators overloading. Runtime time polymorphism is done using inheritance and virtual functions.[Eg: function overriding]

Member Avatar for java_programmer
0
199
Member Avatar for hazeeel

why cant you implement this into separate function and call it with a parameter . The parameter should be the file name.

Member Avatar for hazeeel
0
312
Member Avatar for ryathegr8

C# and Java both are good languages they have similar structure too. DATA BASES *********** For database to include in java applications it has many Connectivity drivers, JDBC is the Java DataBase Connectivity. It is used to connect database connectivity API s like ODBC (Open DataBase Connectivity) JDBC is a …

Member Avatar for ryathegr8
-1
149
Member Avatar for extemer

Hi, Both languages are good. My companies need Java . So learning java will not be an obstacle in your carrier. As jon.kiparsky told you. It is not the the language which you select but how much you know about the language. All the best. My opinion : Java is …

Member Avatar for new_programmer
0
112
Member Avatar for new_programmer

I want detailed explanation about static int var; final int var; static final int var; Please explain it in the memory implementation level. If there is any mistake in these please explain. __________________

Member Avatar for masijade
0
426
Member Avatar for Buolbear4444

[QUOTE=;][/QUOTE] Objective C is good and easy to learn. All u need id SDK. you cant learn anything without doing , so u need a Mac and sdk in it. First you should have a good idea about Objective C. So go though 1. Programming in Objective-C 2.0 by Stephen …

Member Avatar for papanyquiL
0
136
Member Avatar for new_programmer

What is the difference between pointer and reference Please explain in detail. I want its full concept , so pls explain in detail

Member Avatar for daviddoria
0
92
Member Avatar for gauravk_bhanot

[CODE]import javax.swing.*; import java.awt.*; class drawer extends JPanel { Color color; int x; drawer(int x,Color color){ this.color=color;//color of rectangle this.x=x;//size } public void paintComponent(Graphics g) { super.paintComponent(g); g.drawRect(0,0,x,x); g.setColor(color); g.fillRect(0,0,x,x); } } public class layers { public static void main(String[] args) { JLayeredPane layerd=new JLayeredPane(); layerd.setSize(800,800); layerd.setVisible(true); layerd.add(new drawer(50,Color.BLUE),2); layerd.validate(); …

Member Avatar for new_programmer
0
308
Member Avatar for kapsroks

It is a simple html code In you message append a string like this Example Visit <a href="http://google.com">Go to google</a> Explanation ************ Visit : is the word that appear before the link <a href="http://google.com"> : This is the actual html tag that works behind Go to Google : It is …

Member Avatar for kapsroks
0
743
Member Avatar for gauravk_bhanot

You can add label at specific location by [CODE]// create a label JLabel jl_Name = new JLabel("NEW_PROGRAMMER"); //Location jl_Name.setBounds(int,int,int,int); /* first parameter : Starting X point second parameter : Starting Y point third parameter : How much pixels to right fourth parameter : How much pixels downwards */ //Add label …

Member Avatar for gauravk_bhanot
0
3K
Member Avatar for nocookies92

A class can implement many interfaces. this is done by class className implements iterface1,interface2, interfcae3 { }

Member Avatar for new_programmer
0
2K
Member Avatar for Rockyboy53

This is a different quest Step 1. read the string (for eg : myString) Step2: get each character in the string by the method myStinr.charAt(); upto to the length of the string. Step 3: then check each character with its ASCII value

Member Avatar for Rockyboy53
0
85
Member Avatar for bakizzy

If you are a beginer first you make a Digital Clock. And modify it to an Alarm Clock. Hope you got what i mean.

Member Avatar for VernonDozier
-2
76
Member Avatar for Sunshineserene

[QUOTE=;][/QUOTE] First you have to read the file for that Make a File object and read its contents using BufferedReaderObject.readLine(); this will return a string. with values VAL LEU SER PRO ALA etc.. next is to convert this each valueinto corresponding letter by nested if conditions. Continue this while(!feof()) +****************+ …

Member Avatar for java_programmer
0
184
Member Avatar for dck133

[QUOTE=;][/QUOTE] Why you are struggling with array of arry why cant u implement it using Class like these public class className{ String strName; int something; double something; } and use this class object in a loop .

Member Avatar for JamesCherrill
0
124
Member Avatar for dirisala599

what do you meant by Looking out for software development projects! Explain, in detail. Do you want to make a project.

Member Avatar for new_programmer
0
65
Member Avatar for jjhames

What is your mode function for? Please explain the purpose of mode function. And where is your problem?

Member Avatar for javaAddict
0
129
Member Avatar for new_programmer

I have basic idea about malloc and calloc i heard about falloc and dlmalloc, can any one explain about it?

Member Avatar for new_programmer
0
179
Member Avatar for arunmani4u

This is the code for what you asked . you can modify it as you wish. This will not run or show Exception if your system has protection with Anti-virus or some access permission problem. >>>>>>>>>> Do Not use the code for anything to harm any system <<<<<<<<<< [CODE]import java.lang.Runtime; …

Member Avatar for NormR1
0
194
Member Avatar for walter307

char myChar = (char) System.in.read(); Try it, if not working pls reply immediately.

Member Avatar for new_programmer
0
140
Member Avatar for lloydsbackyard

You can get char from a string using the charAt(int); method. its reurn type is char In your case you can use it as follows char c = a.charAt(0); // this will help you in normal case. What happens if the user give input with more than one character? :)

Member Avatar for jon.kiparsky
0
2K

The End.