-
Gave Reputation to Freshly in Learn deep concepts of Java
What search engine are you using? It's fairly new; it just came out early 2015 so you should be able to find it. Have you tried googling it? Try highlighting … -
Replied To a Post in How to get the reference of outer most class
Hi, Thanks for the response, James. No. I have to call getItem() method of ClassA class like this: `classAObj.companyMethod()` I will call company method as ClassA is inherited class of … -
Replied To a Post in Learn deep concepts of Java
@James It doesn't talk about collections, threading etc. @Freshly, I tried to search pdf for second book but not able to find it somewhere. Thanks for the valuable responses. -
Created How to get the reference of outer most class
Hey, I have one class Company and one Item class which is an object in Company class as shown: public abstract class Company { @Inject private ItemClass item; void companyMethod() … -
Began Watching How to get the reference of outer most class
Hey, I have one class Company and one Item class which is an object in Company class as shown: public abstract class Company { @Inject private ItemClass item; void companyMethod() … -
Created What is this new option API introduced?
Hey, I have visited Daniweb after few months. I have seen "API" options in my profile. How can we use it? Is it similar to fb apis, twitter apis? Thanks. -
Began Watching What is this new option API introduced?
Hey, I have visited Daniweb after few months. I have seen "API" options in my profile. How can we use it? Is it similar to fb apis, twitter apis? Thanks. -
Gave Reputation to JamesCherrill in Learn deep concepts of Java
In my opinion you can't beat the original Oracle tutorials http://docs.oracle.com/javase/tutorial/reallybigindex.html -
Created Learn deep concepts of Java
Hi, I have been working in Java for more than 8-9 months now. I want to have deep understanding of Java concepts now. For ex: Collections properties, threading, interfaces detailed … -
Began Watching Learn deep concepts of Java
Hi, I have been working in Java for more than 8-9 months now. I want to have deep understanding of Java concepts now. For ex: Collections properties, threading, interfaces detailed … -
Edited Parse Query returning null for the columns
public class MainActivity extends ActionBarActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); ParseObject.registerSubclass(MyFirstClass.class); Parse.initialize(this, "Id", "Id"); Button button = (Button)findViewById(R.id.button1); button.setOnClickListener(new OnClickListener() { @Override public void onClick(View arg0) … -
Created Parse Query returning null for the columns
public class MainActivity extends ActionBarActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); ParseObject.registerSubclass(MyFirstClass.class); Parse.initialize(this, "Id", "Id"); Button button = (Button)findViewById(R.id.button1); button.setOnClickListener(new OnClickListener() { @Override public void onClick(View arg0) … -
Began Watching Parse Query returning null for the columns
public class MainActivity extends ActionBarActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); ParseObject.registerSubclass(MyFirstClass.class); Parse.initialize(this, "Id", "Id"); Button button = (Button)findViewById(R.id.button1); button.setOnClickListener(new OnClickListener() { @Override public void onClick(View arg0) … -
Created Runtime Exception or Exception
I have read few articles on google but I am still confused when to use what. I have come across checked and unchecked exceptions. I have one exception which I … -
Began Watching Runtime Exception or Exception
I have read few articles on google but I am still confused when to use what. I have come across checked and unchecked exceptions. I have one exception which I … -
Created Singleton class modification
Hi, Actually, I want to make one Singleton class which will create one instance for one thread. I mean if we have 10 threads, then Singleton will create only one … -
Began Watching Singleton class modification
Hi, Actually, I want to make one Singleton class which will create one instance for one thread. I mean if we have 10 threads, then Singleton will create only one … -
Created mac::getInstance returning null
I built one Sync code. I am using eclipse for the same. Actually my code is working fine in eclipse. But when I run it in Tizen OS device. I … -
Began Watching mac::getInstance returning null
I built one Sync code. I am using eclipse for the same. Actually my code is working fine in eclipse. But when I run it in Tizen OS device. I … -
Replied To a Post in Difference between bufferedReader and inputStream
Nice explanation boss. Then, why do we do it this way? I mean : new BufferedReader(new InputStreamReader(input)); why we make the inputStreamReader first? I want to know in deph little … -
Replied To a Post in How to give input to a Thread from GUI
If I will remove that thread, then at the same time if server sends data, will it work? I mean at the time when actionlistner is sending data to server … -
Replied To a Post in Difference between bufferedReader and inputStream
So, when should I use **ByteArrayInputStream**? I am confused little bit. I have used this also. But don't know when to use it specifically? Can you provide one case where … -
Created Difference between bufferedReader and inputStream
I have made very simple code to larn the functionality. String str = "ABC"; InputStream input = new ByteArrayInputStream(str.getBytes()); BufferedReader reader = new BufferedReader(new InputStreamReader(input)); System.out.println(Character.valueOf((char) reader.read())); System.out.println(reader.read()); System.out.println(reader.read()); System.out.print(reader.read()); … -
Began Watching Difference between bufferedReader and inputStream
I have made very simple code to larn the functionality. String str = "ABC"; InputStream input = new ByteArrayInputStream(str.getBytes()); BufferedReader reader = new BufferedReader(new InputStreamReader(input)); System.out.println(Character.valueOf((char) reader.read())); System.out.println(reader.read()); System.out.println(reader.read()); System.out.print(reader.read()); … -
Created Redirecting System.in stream
public class Input { static InputStream reader = null; /** * @param args * @throws IOException * @throws InterruptedException */ public static void main(String[] args) throws IOException, InterruptedException { Test … -
Began Watching Redirecting System.in stream
public class Input { static InputStream reader = null; /** * @param args * @throws IOException * @throws InterruptedException */ public static void main(String[] args) throws IOException, InterruptedException { Test … -
Replied To a Post in How to give input to a Thread from GUI
But, I want to take input from the ActionListeners like when I click on the button I want to send one number to the server. But in CLient, I have … -
Edited How to give input to a Thread from GUI
I have one project named P2PTicTac. I have one file named layout.java. and one with CLient.java. I have made simple GridView in layout file with 9 buttons in 3*3 Grid. … -
Edited How to give input to a Thread from GUI
I have one project named P2PTicTac. I have one file named layout.java. and one with CLient.java. I have made simple GridView in layout file with 9 buttons in 3*3 Grid. … -
Created How to give input to a Thread from GUI
I have one project named P2PTicTac. I have one file named layout.java. and one with CLient.java. I have made simple GridView in layout file with 9 buttons in 3*3 Grid. … -
Began Watching How to give input to a Thread from GUI
I have one project named P2PTicTac. I have one file named layout.java. and one with CLient.java. I have made simple GridView in layout file with 9 buttons in 3*3 Grid. … -
Edited Cherry-picking conceptual problem
I read about cherry-picking. It says: You have one branch x1 and branch x2. You want to take one commit from many commits of x2 and want to merge it … -
Edited Cherry-picking conceptual problem
I read about cherry-picking. It says: You have one branch x1 and branch x2. You want to take one commit from many commits of x2 and want to merge it … -
Created Cherry-picking conceptual problem
I read about cherry-picking. It says: You have one branch x1 and branch x2. You want to take one commit from many commits of x2 and want to merge it … -
Began Watching Cherry-picking conceptual problem
I read about cherry-picking. It says: You have one branch x1 and branch x2. You want to take one commit from many commits of x2 and want to merge it … -
Replied To a Post in Dynamic cast vs static_cast
Thanks Sepp2k. But what is valid dynamic_cast then in case of downcast? Can you tell this thing? Secondly, Can you explain this line? **You can use dynamic_cast when the castee … -
Replied To a Post in Dynamic cast vs static_cast
@sepp2k Class A is a base class. Class B is derived. Base b; Derived d; Base *pb = dynamic_cast<Base*>(&d); Derived *pd = dynamic_cast<Derived*>(&b); And, this one. Employee is base class. … -
Created Dynamic cast vs static_cast
I read many articles on Web regarding this. I am able to understand what static_cast does. I am not to properly understand why, and when we have to dynamic cast. … -
Began Watching Dynamic cast vs static_cast
I read many articles on Web regarding this. I am able to understand what static_cast does. I am not to properly understand why, and when we have to dynamic cast. … -
Replied To a Post in Git system help
@sepp2tk nice explanation. Can you tell me onw thing why we have to commit? The file in which i am making changes is in local repository. right? I read somewhere … -
Created Git system help
Hi, I am learning Git system these days. I have made a new folder in ubuntu and in terminal did this: 1. git init 2. then made a file testfile1.txt … -
Began Watching Git system help
Hi, I am learning Git system these days. I have made a new folder in ubuntu and in terminal did this: 1. git init 2. then made a file testfile1.txt … -
Replied To a Post in Singleton class issue
@James Then, what about Static functions? How will you explain that thing? We can give definition inside? Please correct me. -
Replied To a Post in Singleton class issue
@rubberman Ya that's fine. This is a rule I got it. But, don't we have reason for this? I mean global variables by default set to zero or NULL. Am … -
Replied To a Post in Singleton class issue
Thanks Moschops. But I am declaring it in the class right? Why do I need to create it outside? Please elaborate more. http://www.tutorialspoint.com/cplusplus/cpp_static_members.htm Here, they are saying that by dafault, … -
Edited Singleton class issue
#include<iostream> using namespace std; class Singleton { static Singleton * s; Singleton() { } public: ~Singleton() { s = NULL; } static Singleton * getInstance(); void print() { cout<<this<<endl; } … -
Created Singleton class issue
#include<iostream> using namespace std; class Singleton { static Singleton * s; Singleton() { } public: ~Singleton() { s = NULL; } static Singleton * getInstance(); void print() { cout<<this<<endl; } … -
Began Watching Singleton class issue
#include<iostream> using namespace std; class Singleton { static Singleton * s; Singleton() { } public: ~Singleton() { s = NULL; } static Singleton * getInstance(); void print() { cout<<this<<endl; } … -
Began Watching deceptikon C webcast
Howdy all. I've recently been considering doing an online meeting or webcast on certain subjects for which I have a lot of experience or knowledge. The idea being that something … -
Replied To a Post in deceptikon C webcast
@James Sir, You know my answer. :)
The End.