import java.awt.image.BufferedImage;
import java.awt.*;
import java.io.File;
import javax.imageio.ImageIO;
public class Raster{
static void drawFlag(Graphics2D g)
{
g.setRenderingHint(
Type: Posts; User: liamb109
import java.awt.image.BufferedImage;
import java.awt.*;
import java.io.File;
import javax.imageio.ImageIO;
public class Raster{
static void drawFlag(Graphics2D g)
{
g.setRenderingHint(
I solved the problem I had before. But now I'm getting the error message
Raster.java:24: cannot find symbol
symbol : variable ods
location: class Raster
ods=new int[]{
^
Raster.java:23:...
The full error code now is:
Raster.java:25: '.class' expected
ods=new int[]{
^
1 error
I got that part working. But now I'm having further trouble with the full program that I wasn't displaying earlier because it wasn't relevant. I keep getting the error .class expected on ods=new...
Raster.java:48: illegal start of type
for (int i = 0; i expected
for (int i = 0; i expected
for (int i = 0; i
Is the error I get.
// your code goes here
public static void main(String[] args)
static void drawFlag(Graphics2D g){
int w=300; int h=208;
int [] ods=new int[]{
...