i've experienced a little with objects.
i know how to define objects, with the new keyword.
and how to use them after that.
for example i made this:
now my question is, how can i make custom objects. that are not in the API database.Code:/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package javaapplication2;
import java.awt.*;
import java.util.*;
public class URL {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
String sb = new String("He110 W0r1d!");
System.out.println(sb.toLowerCase());
System.out.println(sb.toUpperCase());
}
}
Is it possible to create your own objects, like this:
if it's possible i need to make a function in another class that describers what CustomObject does.Code:CustomObject object = new Customobject;
I tried this but don't know how to.
Can anyone explain me how to make custom objects?

