Login Register






There was a very particular style of DDOS attack just now, it was mitigated.
Thread Rating:
  • 0 Vote(s) - 0 Average


[JAVA] A Basic Beginners Guide! filter_list
Author
Message
RE: [JAVA] A Basic Beginners Guide! #11
(07-13-2011, 07:35 PM)The 7th Sage Wrote: Well explained mate. How about next 1337 applet tuts. Will be great. : )

Sure, I shall make them soon.
(07-13-2011, 08:18 PM)tomys Wrote: Good. Can i ask you are from LulzSec, and maybe i can request tuts for VisualBasic? Smile pelase

I will soon make a Visual Studio, VB is kind of out dated. But a keylogger or RAT in vb6 is essential as we dont need to have .NetFramework running on slaves pc. I shall make both.
Spoiler:
[Image: unledbyds.png]

Reply

RE: [JAVA] A Basic Beginners Guide! #12
(07-13-2011, 07:35 PM)The 7th Sage Wrote: Well explained mate. How about next 1337 applet tuts. Will be great. : )

Sure, I shall make them soon.
(07-13-2011, 08:18 PM)tomys Wrote: Good. Can i ask you are from LulzSec, and maybe i can request tuts for VisualBasic? Smile pelase

I will soon make a Visual Studio, VB is kind of out dated. But a keylogger or RAT in vb6 is essential as we dont need to have .NetFramework running on slaves pc. I shall make both.
Spoiler:
[Image: unledbyds.png]

Reply

RE: [JAVA] A Basic Beginners Guide! #13
thanks for the post Smile it helps ..im a beginner and i want to learn c++ now im downloading the java SE and java eclipse .. but i need to ask can i learn everything in c++ through java se and eclipse or its a different thing !? i dont have any idea about c++ and languages ! ( i know i will sound stupid for u lol ) so i would be nice if u answer me Smile and thanks in advance ! btw where do u think the best way to start learning c++ ??? :$

Reply

RE: [JAVA] A Basic Beginners Guide! #14
Umm... I guess it's good that you put some effort to this, but this tutorial contains bad information... Well the one you haven't copied from the Wiki.

(07-13-2011, 06:00 PM)1337 Wrote: 1.Java SE:
We need a Java Platform first, so we will download it from java.sun.com
The latest update is 6u26. Choose your Operating System and also make sure you download the correct xx-bit architecture. Ex: x86 or x64.
Download link
Well what you need specifically for development is called Java Development Kit (JDK). Java Platform covers several products, including the JRE - Java Runtime Environment, which is needed to execute Java applications.

(07-13-2011, 06:00 PM)1337 Wrote: 2. Eclipse:
Now we need a Compiler to execute and run our Java programs.
There are two most popular compilers, Netbeans and Eclipse. I prefer Eclipse.
I would recommend you to use Eclipse IDE for Java EE Developers. Again make sure you choose the correct xx-bit architecture.
Download Link
Netbeans and Eclipse are NOT compilers. Java compiler is part of the Java Development Kit and it's called javac, it's a command-line tool. Netbeans and Eclipse are IDEs - Integrated Development Environments, they provide set of tools for writing the code and management of the project and integrate themselves with the compiler and debugger and other tools from the JDK. They themselves are however not compilers, they call the javac to compile the source. However, Eclipse contains its own incremental Java compiler, that's part of JDT core.

Also, compiler doesn't run the program, Java Virtual Machine (JVM) does. Compiler generates something called bytecode from the source, which is "universal" machine code, which is then exected by the JVM.

(07-13-2011, 06:00 PM)1337 Wrote: First Program(Hello World):
Strangely enough all programming languages starts with a Hello World program. So lets go ahead and type this.

Code:
public class 1337 {

    public static void main(String[] args) {
        System.out.println("Hello World");
    }

}
Okay... this is very embarrassing. People please TEST the code you write here, because I often find that people post code that does not work. It's especially embarrassing if it's something as simple as Hello World for beginners. The problem is, that the class name starts with a number and that is illegal according to syntax rules of Java. Please post code that definitely works next time. Name of a class in Java (and many other languages) can start with a letter or underscore, not a number or special symbols.

Also the public modifier is kind of unnecessary in this case - it works with packages, where it means that the class is available also to other packages, not just to its own package.

(07-13-2011, 06:00 PM)1337 Wrote: We mostly use public class for obvious reasons. You can use any name it doesnt matter.

And what are these obvious reasons? Java is OOP based language and one of the main principles of OOP is encapsulation - hiding parts of code from the other code, so it cannot modify it incorrectly and cause problems. Exposing everything publicly undermines this concept and is a bad programming habit.

Also names do matter: name of the class can start only with a letter or an underscore and can contain letters, numbers and underscores. Anything else is illegal. Also in case of public specifier, name of the class must be the same as name of the file it is in.

(07-13-2011, 06:00 PM)1337 Wrote: You can again you anything instead of args, it doesnt matter.
Again, not anything. It must comply with the rule: start with underscore or a letter and contain letters, numbers and underscores. Also it's not a very good idea to change this name, because it follows certain convention and these make the code more readable.



I appreciate some effort put into this, but perhaps next time you should devote more effort to this to test the code you post and research some more information if it complies with the standard Java language and if it's technically correct.
I love creativity and creating, I love science and rational thought, I am an open atheist and avid self-learner.

Reply







Users browsing this thread: 1 Guest(s)






This forum uses Lukasz Tkacz MyBB addons.