Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I'm new to programming, and I started by learning python. However, now I'm watching a lecture series online by Stanford, and they use Java.
I'm having a hard time transitioning from Python to Java. Can someone please explain how classes work in Java in contrast to functions in Python? Public vs. Private seems strange. I've also heard 'methods' and been told they are similar to functions. Links to videos or other explanations are welcomed.
I realize this question does not have any code; but we all have to start somewhere. Thanks
You may find it better to take a step back and learn the basics of Object Oriented Programming, not necessarily related to Java specifically.
Some places to get you started:
http://docs.oracle.com/javase/tutorial/java/concepts/
http://www.codeproject.com/Articles/22769/Introduction-to-Object-Oriented-Programming-Concep
http://www.youtube.com/watch?v=c5kfCH50wl0
This is just a few, though you will find many more learning material around the web.
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I have to create a user interface in Java, I asked in another forum for some recommendations and somebody answered me, at that moment, few people write GUI application in JAVA, its most used .NET, could somebody help me?.
Thanks
Maria
The way with java gui is to use javaFx. For that you'll need java 8 (no other lib is needed). This is easier to use as Swing or AWT before. Also its fancier by default.
Although its somehow not new to the community(2 years), there can be some pitfalls you will run into. By now i don't see a better solution. If you need more native "look and feel" you can use the platform dependent swt which is somehow old, proofed but harder to use.
http://docs.oracle.com/javafx/2/get_started/jfxpub-get_started.htm
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I want to create a reddit 'novelty' account bot to better my coding/scripting skills. Currently I just want to make a simple bot that searches new or rising links on reddit and looks at the comments in each thread. If the text matches some string of characters, the bot replies with a message.
I know this is a really general question, but I'm looking for tips on which scripting/programming language to use. I mainly have experience with Java and Selenium along with R and a little bit of batch. I am willing to learn a new language (i have a lot of free time). Also the goal of the bot isn't very difficult, so even if i had to learn a new language I don't think it would be all too difficult.
Most reddit bots are made with something called PRAW. You use Python when creating something with PRAW. Python shouldn't be too hard to learn if you know Java.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
This may sound really silly but there is a whole documentation of the libraries and classes in java and I am trying to learn how to use this to write programs since I don't want to refer to someone else code but I was completlely lost when I look at the documentation online: http://docs.oracle.com/javase/7/docs/api/
Can someone please help me understand how i can use this?
I think you need to go up one level and look at tutorials first: http://docs.oracle.com/javase/tutorial/. Once you understand the basics of Java, then you can use the API reference to find the classes and methods you need.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I recently learned java by reading the book Head First Java and I also bought the book Effective Java which I'm planning to finish later. I've been searching the ways to improve Java programming skills online but all I found are algorithm practice questions just like questions in the book Cracking the Coding Interview. I finished about a hundred of them and I found they are useful; however, I still cannot see how this is related to making real object oriented applications like desktop softwares or Android Apps.
Every time I visit stackoverflow.com, under tag Java I see those questions about things that I have never heard of. I'm really frustrated. Am I on the wrong track to the real programming world?
Thanks.
There are many options you might resort to, to improve your development and design skills. And all come through developing real-purpose applications. If you are at loss yourself to find a problem interesting enough and complex enough for you to exercise and hone your skills, you can always contribute to opensource projects. For instance you might go through java projects hosted in github, pick one you like, and have a look at its todo list if any, or pick a an issue and investigate it, fix it if you can and contribute a patch.
This exercise will expose you to product-grade codebases (depending on the project your chose) and several aspects of software development and will most certainly help you improve your skills.
link for java projects hosted at github
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I've seen a few neat features in other languages around Java like generators and the recent "await" feature, and I tried to implement some of them using bytecode manipulation. However, I think these are neat enough for most developers to make them a language feature. I've seen the kijaro project; however, there seems to be very little documentation on how to get on there. So, even if only for my own use and curiousity, how should I approach doing so?
Thanks!
Take a look at the article entitled "So you want to change the Java Programming Language..." on Oracle's blog.